#include <irr/irrlicht.h>
#include <iostream>
using namespace std;

using namespace irr;

class CTimer
{
	IrrlichtDevice *m_pDevice;
	unsigned int m_currentTime;
	unsigned int m_lastTime;
	bool m_Error;

public:
	CTimer(IrrlichtDevice *device);
	
	int getCurrentTime();
	
	void resetTime();
};